//package project;
//
//import java.io.PrintStream;
//
//public class Test
//{
//  public static void main(String[] args)
//  {
//    IMatDataHandler imatDataHandler = IMatDataHandler.getInstance();
//
//    System.out.println("Testing...");
//
//    ShoppingCart shoppingCart = imatDataHandler.getShoppingCart();
//
//    shoppingCart.addShoppingCartListener(new ShoppingCartListener(shoppingCart) {
//      public void shoppingCartChanged() {
//        System.out.println("cart changed, total: " + this.val$shoppingCart.getTotal());
//      }
//    });
//    shoppingCart.addProduct(imatDataHandler.getProduct(43));
//    shoppingCart.addProduct(imatDataHandler.getProduct(90));
//    shoppingCart.addProduct(imatDataHandler.getProduct(80));
//
//    System.out.println("getUnitSuffix >" + imatDataHandler.getProduct(43).getUnitSuffix() + "<");
//
//    imatDataHandler.placeOrder(true);
//
//    imatDataHandler.shutDown();
//  }
//}